Add a note about GDK_AXIS_X/Y
authorMatthias Clasen <mclasen@redhat.com>
Sat, 9 Apr 2016 21:35:58 +0000 (17:35 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 9 Apr 2016 21:38:03 +0000 (17:38 -0400)
These axes mmay or may not be present, best to ignore them.

gdk/gdktypes.h

index 690cc499e13ec7a8a9b62d88e4a885f7e326eab6..7c4a2bb0087632d001247b6c14af6713a06d9130 100644 (file)
@@ -546,6 +546,10 @@ typedef enum
  * An enumeration describing the way in which a device
  * axis (valuator) maps onto the predefined valuator
  * types that GTK+ understands.
+ *
+ * Note that the X and Y axes are not really needed; pointer devices
+ * report their location via the x/y members of events regardless. Whether
+ * X and Y are present as axes depends on the GDK backend.
  */
 typedef enum
 {